package day1103.demo02;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/3 9:54
 */

public class WqlNoCan {
    public static void main(String[] args) {
        Haha h =()->{
            System.out.println("haohaokan");
        };
        fun(h);
    }
    public static void fun(Haha h){
        h.look();
    }
}
@FunctionalInterface
interface  Haha{
    public void look();
}
